package com.blog.dao;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.sql.DataSource;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

public class BlogJdbcDaoSupport extends JdbcDaoSupport{
	@Resource(name="myDataSource")
	private DataSource dataSource ;

	@PostConstruct
	public void setDataSource()
	{  super.setDataSource(this.dataSource);
	}	
}
